﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Kiwi.Infrastructure;

namespace Kiwi.DataModel
{
    public class NewsInfo:NotificationObject
    {
        public NewsInfo() { }

        #region Fields
        private string title;
        private string link;
        private string description;
        private string content;
        private DateTime time; 
        #endregion

        #region Properties
        public string Title
        {
            get { return title; }
            set
            {
                title = value;
                RaisePropertyChanged(() => Title);
            }
        }

        public string Link
        {
            get { return link; }
            set
            {
                link = value;
                RaisePropertyChanged(() => Link);
            }
        }

        public string Description
        {
            get { return description; }
            set
            {
                description = value;
                RaisePropertyChanged(() => Description);
            }
        }

        public string Content
        {
            get { return content; }
            set
            {
                content = value;
                RaisePropertyChanged(() => Content);
            }
        }

        public DateTime Time
        {
            get { return time; }
            set
            {
                time = value;
                RaisePropertyChanged(() => Time);
            }
        }
        #endregion
    }
}
